Meaning of the word "when a twig grows hard, it is difficult to twist it" in English

What does "when a twig grows hard, it is difficult to twist it" mean in English? Explore the meaning, pronunciation, and specific usage of this word with Lingoland.

when a twig grows hard, it is difficult to twist it

US /wɛn ə twɪɡ ɡroʊz hɑːrd, ɪt ɪz ˈdɪfɪkəlt tu twɪst ɪt/
UK /wɛn ə twɪɡ ɡrəʊz hɑːd, ɪt ɪz ˈdɪfɪkəlt tu twɪst ɪt/
"when a twig grows hard, it is difficult to twist it" picture

Idiom

it is easier to train or influence someone when they are young than when they are older and set in their ways

Example:
You should teach your children good habits now, because when a twig grows hard, it is difficult to twist it.
It's hard to change his stubborn attitude now; when a twig grows hard, it is difficult to twist it.